package cn.cool;

import org.openjdk.jol.info.ClassLayout;


public class ClassLoaderApp {
    public static void main(String[] args) throws InterruptedException {
        // 1. 获取自定义TestClassLoader类的类加载器
        ClassLoader classLoader_1 = TestClassLoader.class.getClassLoader();
        System.out.println(classLoader_1);

        // 2. 获取Maven引入的ClassLayout类的类加载器
        ClassLoader classLoader_2 = ClassLayout.class.getClassLoader();
        System.out.println(classLoader_2);
    }
}